package org.apache.ibatis.my;

import java.io.Serializable;
import java.util.List;

/**
 * 考试科目
 *
 * @author
 * @email
 * @date 2021-04-14 08:12:07
 */

public class SubjectEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	private Integer id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 远端id
	 */
	private Integer remoteId;

  private List<ExamEntity> examList;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getRemoteId() {
    return remoteId;
  }

  public void setRemoteId(Integer remoteId) {
    this.remoteId = remoteId;
  }

  public List<ExamEntity> getExamList() {
    return examList;
  }

  public void setExamList(List<ExamEntity> examList) {
    this.examList = examList;
  }

  public SubjectEntity() {
	}

	public SubjectEntity(Integer remoteId, String name)  {
		this.name = name;
		this.remoteId = remoteId;
	}
}
